package com.teama4.shop.service;

import com.teama4.shop.domain.ViewHistory;
import com.teama4.shop.domain.ViewHistoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ViewHistoryService extends ViewHistoryServiceExt{

    long countByExample(ViewHistoryExample example);


    int deleteByExample(ViewHistoryExample example);

    int deleteByPrimaryKey(Integer id);


    int insert(ViewHistory record);


    int insertSelective(ViewHistory record);


    List<ViewHistory> selectByExample(ViewHistoryExample example);


    ViewHistory selectByPrimaryKey(Integer id);


    int updateByExampleSelective(@Param("record") ViewHistory record, @Param("example") ViewHistoryExample example);


    int updateByExample(@Param("record") ViewHistory record, @Param("example") ViewHistoryExample example);


    int updateByPrimaryKeySelective(ViewHistory record);


    int updateByPrimaryKey(ViewHistory record);
}